package com.youlu.campus.common.exception;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class WechatException extends RuntimeException {
    private Integer code;

    private String message;

    public WechatException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
